package com.oguzhan.xtools.soa.token.util;


public class TokenUtil {

	private Config config = null;
	
	public TokenUtil() {
		this.config = Config.createConfig();
	}
	
	public String getToken(String environment) throws Exception {

		EnvironmentConfig environmentConfig = config.getEnvironmentConfig(environment);
		CreateToken createToken = new CreateToken(environmentConfig);
		return createToken.getIt();
	}
	
	public static void main(String[] args) throws Exception {
		
	}
	
}
